package org.lanqiao.bean;

import java.io.Serializable;

/**
 * company
 * 
 * @author
 */
public class Company implements Serializable {
	/**
	 * 公司id
	 */
	private Integer id;

	/**
	 * 登录帐号
	 */
	private String num;

	/**
	 * 登录密码
	 */
	private String pwd;

	/**
	 * 公司全称
	 */
	private String fullName;

	/**
	 * 公司简称
	 */
	private String shortName;

	/**
	 * 公司地点
	 */
	private String address;

	/**
	 * 公司网址
	 */
	private String com;

	/**
	 * 公司联系电话
	 */
	private String tel;

	/**
	 * 接受简历邮箱
	 */
	private String email;

	/**
	 * 公司规模(1、少于15人；2、15-30人)
	 */
	private Integer number;

	/**
	 * 行业领域
	 */
	private String field;

	/**
	 * 公司LogId(图片id)
	 */
	private Integer logId;

	/**
	 * 公司标签id集合
	 */
	private String labelId;

	/**
	 * 发展阶段 period（1、未融资、2….）
	 */
	private Integer period;

	/**
	 * 公司一句话介绍
	 */
	private String introductionS;

	/**
	 * 状态id（0、1、2、是否认证3、是否开通招聘服务）
	 */
	private Integer sateIds;

	/**
	 * 创建时间
	 */
	private String date;

	/**
	 * 备用1
	 */
	private String b1;

	/**
	 * 备用2
	 */
	private String b2;

	/**
	 * 备用3
	 */
	private String b3;

	/**
	 * 备用4
	 */
	private Integer b4;

	/**
	 * 公司详细介绍
	 */
	private String introductionL;

	private static final long serialVersionUID = 1L;

	public Company() {
	}

	public Company(String num, String pwd) {
		this.num = num;
		this.pwd = pwd;
	}

	public Company(Integer id, String labelId) {
		this.id = id;
		this.labelId = labelId;

	}

	public Company(Integer id, String fullName, String shortName, String address, String com, Integer number,
			String field, Integer logId, Integer period, String introductionS) {
		this.id = id;
		this.fullName = fullName;
		this.shortName = shortName;
		this.logId = logId;
		this.com = com;
		this.address = address;
		this.field = field;
		this.number = number;
		this.period = period;
		this.introductionS = introductionS;
	}

	public Company(String num, String pwd, String fullName, String shortName, String address, String com, String tel,
			String email, Integer number, String field, Integer logId, String labelId, Integer period,
			String introductionS, Integer sateIds, String introductionL) {
		this.num = num;
		this.pwd = pwd;
		this.fullName = fullName;
		this.shortName = shortName;
		this.address = address;
		this.com = com;
		this.tel = tel;
		this.email = email;
		this.number = number;
		this.field = field;
		this.logId = logId;
		this.labelId = labelId;
		this.period = period;
		this.introductionS = introductionS;
		this.sateIds = sateIds;
		this.introductionL = introductionL;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getshortName() {
		return shortName;
	}

	public void setshortName(String shortName) {
		this.shortName = shortName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCom() {
		return com;
	}

	public void setCom(String com) {
		this.com = com;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}

	public Integer getLogId() {
		return logId;
	}

	public void setLogId(Integer logId) {
		this.logId = logId;
	}

	public String getLabelId() {
		return labelId;
	}

	public void setLabelId(String labelId) {
		this.labelId = labelId;
	}

	public Integer getPeriod() {
		return period;
	}

	public void setPeriod(Integer period) {
		this.period = period;
	}

	public String getIntroductionS() {
		return introductionS;
	}

	public void setIntroductionS(String introductionS) {
		this.introductionS = introductionS;
	}

	public Integer getSateIds() {
		return sateIds;
	}

	public void setSateIds(Integer sateIds) {
		this.sateIds = sateIds;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getB1() {
		return b1;
	}

	public void setB1(String b1) {
		this.b1 = b1;
	}

	public String getB2() {
		return b2;
	}

	public void setB2(String b2) {
		this.b2 = b2;
	}

	public String getB3() {
		return b3;
	}

	public void setB3(String b3) {
		this.b3 = b3;
	}

	public Integer getB4() {
		return b4;
	}

	public void setB4(Integer b4) {
		this.b4 = b4;
	}

	public String getIntroductionL() {
		return introductionL;
	}

	public void setIntroductionL(String introductionL) {
		this.introductionL = introductionL;
	}

	@Override
	public boolean equals(Object that) {
		if (this == that) {
			return true;
		}
		if (that == null) {
			return false;
		}
		if (getClass() != that.getClass()) {
			return false;
		}
		Company other = (Company) that;
		return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
				&& (this.getNum() == null ? other.getNum() == null : this.getNum().equals(other.getNum()))
				&& (this.getPwd() == null ? other.getPwd() == null : this.getPwd().equals(other.getPwd()))
				&& (this.getFullName() == null ? other.getFullName() == null
						: this.getFullName().equals(other.getFullName()))
				&& (this.getshortName() == null ? other.getshortName() == null
						: this.getshortName().equals(other.getshortName()))
				&& (this.getAddress() == null ? other.getAddress() == null
						: this.getAddress().equals(other.getAddress()))
				&& (this.getCom() == null ? other.getCom() == null : this.getCom().equals(other.getCom()))
				&& (this.getTel() == null ? other.getTel() == null : this.getTel().equals(other.getTel()))
				&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
				&& (this.getNumber() == null ? other.getNumber() == null : this.getNumber().equals(other.getNumber()))
				&& (this.getField() == null ? other.getField() == null : this.getField().equals(other.getField()))
				&& (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
				&& (this.getLabelId() == null ? other.getLabelId() == null
						: this.getLabelId().equals(other.getLabelId()))
				&& (this.getPeriod() == null ? other.getPeriod() == null : this.getPeriod().equals(other.getPeriod()))
				&& (this.getIntroductionS() == null ? other.getIntroductionS() == null
						: this.getIntroductionS().equals(other.getIntroductionS()))
				&& (this.getSateIds() == null ? other.getSateIds() == null
						: this.getSateIds().equals(other.getSateIds()))
				&& (this.getDate() == null ? other.getDate() == null : this.getDate().equals(other.getDate()))
				&& (this.getB1() == null ? other.getB1() == null : this.getB1().equals(other.getB1()))
				&& (this.getB2() == null ? other.getB2() == null : this.getB2().equals(other.getB2()))
				&& (this.getB3() == null ? other.getB3() == null : this.getB3().equals(other.getB3()))
				&& (this.getB4() == null ? other.getB4() == null : this.getB4().equals(other.getB4()))
				&& (this.getIntroductionL() == null ? other.getIntroductionL() == null
						: this.getIntroductionL().equals(other.getIntroductionL()));
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
		result = prime * result + ((getNum() == null) ? 0 : getNum().hashCode());
		result = prime * result + ((getPwd() == null) ? 0 : getPwd().hashCode());
		result = prime * result + ((getFullName() == null) ? 0 : getFullName().hashCode());
		result = prime * result + ((getshortName() == null) ? 0 : getshortName().hashCode());
		result = prime * result + ((getAddress() == null) ? 0 : getAddress().hashCode());
		result = prime * result + ((getCom() == null) ? 0 : getCom().hashCode());
		result = prime * result + ((getTel() == null) ? 0 : getTel().hashCode());
		result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
		result = prime * result + ((getNumber() == null) ? 0 : getNumber().hashCode());
		result = prime * result + ((getField() == null) ? 0 : getField().hashCode());
		result = prime * result + ((getLogId() == null) ? 0 : getLogId().hashCode());
		result = prime * result + ((getLabelId() == null) ? 0 : getLabelId().hashCode());
		result = prime * result + ((getPeriod() == null) ? 0 : getPeriod().hashCode());
		result = prime * result + ((getIntroductionS() == null) ? 0 : getIntroductionS().hashCode());
		result = prime * result + ((getSateIds() == null) ? 0 : getSateIds().hashCode());
		result = prime * result + ((getDate() == null) ? 0 : getDate().hashCode());
		result = prime * result + ((getB1() == null) ? 0 : getB1().hashCode());
		result = prime * result + ((getB2() == null) ? 0 : getB2().hashCode());
		result = prime * result + ((getB3() == null) ? 0 : getB3().hashCode());
		result = prime * result + ((getB4() == null) ? 0 : getB4().hashCode());
		result = prime * result + ((getIntroductionL() == null) ? 0 : getIntroductionL().hashCode());
		return result;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", id=").append(id);
		sb.append(", num=").append(num);
		sb.append(", pwd=").append(pwd);
		sb.append(", fullName=").append(fullName);
		sb.append(",  shortName=").append(shortName);
		sb.append(", address=").append(address);
		sb.append(", com=").append(com);
		sb.append(", tel=").append(tel);
		sb.append(", email=").append(email);
		sb.append(", number=").append(number);
		sb.append(", field=").append(field);
		sb.append(", logId=").append(logId);
		sb.append(", labelId=").append(labelId);
		sb.append(", period=").append(period);
		sb.append(", introductionS=").append(introductionS);
		sb.append(", sateIds=").append(sateIds);
		sb.append(", date=").append(date);
		sb.append(", b1=").append(b1);
		sb.append(", b2=").append(b2);
		sb.append(", b3=").append(b3);
		sb.append(", b4=").append(b4);
		sb.append(", introductionL=").append(introductionL);
		sb.append(", serialVersionUID=").append(serialVersionUID);
		sb.append("]");
		return sb.toString();
	}
}